<?php
$char = 160;
function rm($article, $char) {
if (strlen($article) > $char) {
return substr($article, 0, $char).'...';
}
else return $article;
}
?>